<!DOCTYPE html>
<html lang="en">
<head>
    <title>流程</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../../../static/lib/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../../static/lib/layuiadmin/style/admin.css" media="all">
    <link rel="stylesheet" href="../../../../static/lib/layuiadmin/style/formSelects-v4.css">

    <style>
        body {
            margin: 0;
            padding: 0;
            border: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        html{
            height: 100%;
        }

        #btn-zs {
            border-bottom: 0;
            padding: 0;
            margin-bottom: 10px;
        }
        .layui-fluid{
            margin: 5px;
            padding: 0;
        }

        .btn-table {
            width: 98%;
            table-layout: fixed;
            margin-left: 15px;
        }
        #Tree li a{cursor:pointer}
    </style>

</head>
<body>
<div class="layui-fluid" id="LAY-component-grid-mobile" style="height: 100%">
    <div class="layui-row layui-col-space10" style="height: 100%">
        <div class="layui-col-xs2" style="height: 100%">
            <div class="layui-card" style="height: 100%">
                <div class="layui-card-header">流程列表</div>
                <div class="layui-card-body" style="overflow: auto;height: 92%;padding: 10px;">
                    <ul id="Tree"></ul>
                </div>
            </div>
        </div>
        <div class="layui-col-xs10" style="height: 100%">
            <div class="layui-card" style="height: 100%">
                <div class="layui-card-header" id="title">控件列表-<span style="color:red"></span></div>
                <div class="layui-card-body" style="padding:5px 15px;">
                    <div id="btn-zs">
                        <form class="layui-form" action="">
                            <table id="btn-table">
                                <tr>
                                    <td style='width:80px'>
                                        <a href="javascript:;" id="addBtn" class="layui-btn layui-btn-sm" onclick="doEdit('','')"> <i class="layui-icon">&#xe654;</i>增加</a>
                                    </td>
                                    <td style='width:80px'>
                                        <a href="javascript:;" id="reloadBtn" class="layui-btn layui-btn-sm st_back2" onclick="refresh_data()"> <i class="layui-icon">&#xe9aa;</i>刷新</a>
                                    </td>
                                    <td style='width:110px'>
                                        <a href="javascript:;" id="wfTrash" class="layui-btn layui-btn-sm st_back2" onclick="doTrash('')"> <i class="layui-icon"> </i>流程回收站</a>
                                    </td>
                                    <!--<td style='width:160px'>
                                        <input type="text" id='key' lay-filter="key" placeholder="请输入流程名称" style='width:155px; height: 33px' class="layui-input" autocomplete="off"/>
                                    </td>
                                    <td>
                                        <a href="javascript:;" class="layui-btn layui-btn-sm st_back2" onclick="search_data()" style="width:60px;margin-right:20px;"><i class="layui-icon">&#xe615;</i>查询</a>
                                    </td>-->
                                </tr>
                            </table>
                        </form>
                    </div>
                    <div class="layui-form" id="gridList" url="/wf/workflow/listWfWorkflow" showHeader="true"
                         sizeList="[10,20,50,100]" pageSize="10" onrowdblclick="details">
                        <div property="columns" style="display: none;">
                            <div type="indexcolumn" width="40" headerAlign="center">No.</div>
                            <div field='wfName' width='15%' headerAlign='center' allowSort='true'>流程名</div>
                            <div field='wfTitle' width='15%' headerAlign='center' allowSort='true'>标题</div>
                            <div field='createTime' width='12%' headerAlign='center' allowSort='true'>创建时间</div>
                            <div field='lastModifyTime' width='12%' headerAlign='center' allowSort='true'>最后修改时间</div>
                            <div field='activeFlag' renderer="activeFlagRenderer1" width='7%' headerAlign='center' allowSort='true'>状态</div>
                            <div field="wfId" width="36%" headerAlign="center" allowSort="false" cellStyle="text-align:center;" renderer="formatOper">操作</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>

<script type="text/javascript" src="../../../common/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="../../../../static/lib/layuiadmin/layui/layui.js"></script>
<script type="text/javascript" src="../../../common/common.js"></script>
<script type="text/javascript" src="../../../common/listTree.js"></script>
<script type="text/javascript" src="../../../common/dataGrid.js"></script>
<script type="text/javascript" src="../../../common/utils.js"></script>
<script type="text/javascript">
    layui.config({
        base: '/static/lib/layuiadmin/',
    }).extend({
        authtree: 'modules/authtree',
    });
</script>
<script type="text/javascript" src="wfWorkflowList.js"></script>
